package com.example.springboot01.mapper;

import com.example.springboot01.model.Course;
import org.springframework.stereotype.Component;

/**
 * @Auther: zrd
 * @Date: 2022/4/18/04/18/21:13
 * @Description: com.example.springboot01.mapper
 */
@Component
public interface CourseMapper {
    /**
     * 通过课程id，查询选课信息(多对多)
     * @param id
     * @return
     */
    Course selectByCourseId(int id);
}
